﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.ServiceModel;
using System.ServiceModel.Web;
using System.Text;
using System.Threading.Tasks;
using DHQGHN;

namespace DHQGHN.Services.TDT
{
    [ServiceContract]
    public interface IAreaConvertService
    {
        /// <summary>
        /// datlq, 20150618
        /// </summary>
        /// <param name="customer"></param>
        /// 
        [OperationContract]
        [WebInvoke(Method = "POST",
            ResponseFormat = WebMessageFormat.Json,
            RequestFormat = WebMessageFormat.Json,
            UriTemplate = "UpdateAreaConvert")]
        void UpdateAreaConvert(DAL.Models.TDT.AreaConvert obj);

        [OperationContract]
        [WebInvoke(Method = "POST",
            ResponseFormat = WebMessageFormat.Json,
            RequestFormat = WebMessageFormat.Json,
            UriTemplate = "SaveAreaConvert")]
        void SaveAreaConvert(DAL.Models.TDT.AreaConvert obj);

        [OperationContract]
        [WebInvoke(Method = "POST",
            ResponseFormat = WebMessageFormat.Json,
            RequestFormat = WebMessageFormat.Json,
            UriTemplate = "DeleteAreaConvert")]
        void DeleteAreaConvert(DAL.Models.TDT.AreaConvert obj);

        [OperationContract]
        [WebInvoke(Method = "POST",
            ResponseFormat = WebMessageFormat.Json,
            RequestFormat = WebMessageFormat.Json,
            UriTemplate = "AreaConvertCount")]
        List<DAL.Models.TDT.AreaConvert> AreaConvertCount(DAL.Models.TDT.AreaConvert obj);
    }
}